/**
 * 
 * 收支统计请求
 * 
 */
import Axios from 'axios'

import { requestHeader } from './requestHeader' 


// 获取收费信息

export function getInfo(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/getInfo',
        method: 'get'
      })

}

// 获取退费信息
export function getTf(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/returnPremium',
        method: 'get'
      })

}

// 查询现金支付总金额 Cash
export function getCash(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/getCash',
        method: 'get'
      })

}


// 查询微信支付总金额 WeChat
export function getWeChat(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/getWeChat',
        method: 'get'
      })

}

// 查询支付宝支付总金额 Alipay
export function getAlipay(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/getAlipay',
        method: 'get'
      })

}

// 查询总金额 lumpSumExpenses
export function getlumpSumExpenses(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/lumpSumExpenses',
        method: 'get'
      })

}




// 查询退款总金额 totalRefund
export function gettotalRefund(){

    return Axios({
        url: requestHeader() + '/IncomeAndExpenses/totalRefund',
        method: 'get'
      })

}


//条件查询
export function queryInfo(pageNum, chargetype,chargestatus,startDate,endDate){


  return Axios({

    url:requestHeader() + '/IncomeAndExpenses/queryInfo',
    method:'post',
    params:{
        'pageNum': pageNum,
        'chargetype': chargetype,
        'chargestatus':chargestatus,
        'startDate': startDate,
        'endDate':endDate
    }


  }
  
  )

}


//分页查询

export function paging(pageNum){

  return Axios(
    {
        url: requestHeader() + '/IncomeAndExpenses/paging',
        method:'post',
        params:{"pageNum":pageNum}
    }
    
    
    )

}


//年月表表统计信息 
export function monthlyReport(num){

  return Axios({
    url: requestHeader() + '/monthlyReport/getMonthlyReport',
    method: 'get',
    params:{"num":num}
  })  
}


//获取一年的信息
export function annualStatistics(year){

  return Axios({
    url: requestHeader() + '/monthlyReport/annualStatistics',
    method: 'get',
    params:{"year":year}
  })  
}

package com.his.his_system.domain;  
2   
3  /**  
4  * 年月总收费信息  
5  */  
6  public class MonthlyStatistics {  
7   
8  /**  
9  * 总金额  
10  */  
11  private String sumamount;  
12   
13  /**  
14  * 月份  
15  */  
16  private int monthtime;  
17   
18  /**  
19  * 年份  
20  */  
21  private int yeartime;  
22   
23  public String getSumamount() {  
24  return sumamount;  
25  }  
26   
27  public void setSumamount(String sumamount) {  
28  this.sumamount = sumamount;  
29  }  
30   
31  public int getMonthtime() {  
32  return monthtime;  
33  }  
34   
35  public void setMonthtime(int monthtime) {  
36  this.monthtime = monthtime;  
37  }  
38   
39  public int getYeartime() {  
40  return yeartime;  
41  }  
42   
43  public void setYeartime(int yeartime) {  
44  this.yeartime = yeartime;  
45  }  
46  } 